home *** CD-ROM | disk | FTP | other *** search
/ EROS 2 / EROS 2.iso / mac / EROS vol.2 / EROS vol.DXR / 00228.ls < prev    next >
Encoding:
Text File  |  1995-12-20  |  495 b   |  15 lines

  1. on mouseUp
  2.   global md2, rantime, mp
  3.   set the cursor of sprite 5 to 4
  4.   set rantime to the ticks
  5.   set mp to 5
  6.   if the name of cast the castNum of sprite 5 = "fct4end" then
  7.     set the castNum of sprite 5 to the number of cast "FCT4S"
  8.     set md2 to the duration of cast the castNum of sprite 5 - 3
  9.   else
  10.     set md2 to the duration of cast (the castNum of sprite 5 + 1) - 3
  11.     set the castNum of sprite 5 to the castNum of sprite 5 + 1
  12.   end if
  13.   set the cursor of sprite 5 to [50, 51]
  14. end
  15.